/* GLOBAL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

/* COLORS */
:root {
  --primary: #4e73df;   /* Blue */
  --secondary: #1cc88a; /* Green */
  --danger: #e74a3b;    /* Red */
  --dark: #2e2e2e;
  --light: #f8f9fc;
}

body {
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

/* NAVBAR */
header {
  background: var(--primary);
  padding: 1rem 2rem;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav .logo a {
  color: #fff;
  font-weight: bold;
  font-size: 1.5rem;
  text-decoration: none;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.nav-links li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: var(--secondary);
}

/* HERO */
.hero {
  position: relative;
  text-align: center;
  color: white;
}
.hero img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  opacity: 0.85;
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.hero-content h1 {
  font-size: 3rem;
}
.hero-content .btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: var(--secondary);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
}
.hero-content .btn:hover {
  background: var(--danger);
}

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 3rem 2rem;
  text-align: center;
}
.features .feature {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.features img {
  width: 100px;
  margin-bottom: 1rem;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 2rem;
  background: var(--dark);
  color: #fff;
  margin-top: 2rem;
}
footer .social-icons a img {
  margin: 0 5px;
}

/* CONTACT FORM */
form {
  max-width: 500px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
}
form input, form textarea {
  margin: 0.5rem 0;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}
form button {
  background: var(--primary);
  color: white;
  padding: 0.75rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
form button:hover {
  background: var(--secondary);
}

/* RESPONSIVE NAV */
.nav-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
}
@media(max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: var(--primary);
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
  }
  .nav-links.show {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
}
